<?xml version="1.0" encoding="utf-8" ?>
  <snippets>
    <!--<Parent_Opener_syntax>-->
    <snippet>
      <crm4>window.opener.parent.document.|_|;</crm4>
      <crm5>window.top.opener.parent.|_|;</crm5>
    </snippet>
    <snippet>
      <crm4>window.opener.document.|_|;</crm4>
      <crm5>window.top.opener.parent.|_|;</crm5>
    </snippet>
    <snippet>
      <crm4>window.opener.parent.|_|;</crm4>
      <crm5>window.top.opener.parent.|_|;</crm5>
    </snippet>
    <!--</Parent_Opener_syntax>-->
    <!--<Xrm.Page.context>-->
    <snippet>
      <crm4>GenerateAuthenticationHeader()</crm4>
      <crm5>Xrm.Page.context.getAuthenticationHeader()</crm5>
    </snippet>
    <snippet>
      <crm4>IsOnline()</crm4>
      <crm5>Xrm.Page.context.isOutlookClientOnline()</crm5>
    </snippet>
    <snippet>
      <crm4>IsOutlookClient()</crm4>
      <crm5>Xrm.Page.context.isOutlookClient()</crm5>
    </snippet>
    <snippet>
      <crm4>IsOutlookLaptopClient()</crm4>
      <crm5>Xrm.Page.context.isOutlookClient()</crm5>
    </snippet>
    <snippet>
      <crm4>IsOutlookWorkstationClient()</crm4>
      <crm5>Xrm.Page.context.isOutlookClient()</crm5>
    </snippet>
    <snippet>
      <crm4>SERVER_URL</crm4>
      <crm5>Xrm.Page.context.getServerUrl()</crm5>
    </snippet>
    <snippet>
      <crm4>USER_LANGUAGE_CODE</crm4>
      <crm5>Xrm.Page.context.getUserLcid()</crm5>
    </snippet>
    <snippet>
      <crm4>ORG_LANGUAGE_CODE</crm4>
      <crm5>Xrm.Page.context.getOrgLcid()</crm5>
    </snippet>
    <snippet>
      <crm4>ORG_UNIQUE_NAME</crm4>
      <crm5>Xrm.Page.context.getOrgUniqueName()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.context.getQueryStringParameters()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.context.getUserId()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.context.getUserRoles()</crm5>
    </snippet>
    <!--  </snippets>
</Xrm.Page.context>
<Xrm.Page.ui>
  <snippets>-->
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.ui.getCurrentControl()</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.FormType</crm4>
      <crm5>Xrm.Page.ui.getFormType()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.ui.getViewPortHeight()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.ui.getViewPortWidth()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.ui.refreshRibbon()</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.tab|_|Tab.style.display = 'none';</crm4>
      <crm5>Xrm.Page.ui.tabs.get(|_|).setVisible(false);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.tab|_|Tab.style.display = '';</crm4>
      <crm5>Xrm.Page.ui.tabs.get(|_|).setVisible(true);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.tab|_|Tab.style.display = "none";</crm4>
      <crm5>Xrm.Page.ui.tabs.get(|_|).setVisible(false);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.tab|_|Tab.style.display = "";</crm4>
      <crm5>Xrm.Page.ui.tabs.get(|_|).setVisible(true);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.IFRAME_|_|.src = |_|;</crm4>
      <crm5>Xrm.Page.getControl("IFRAME_|_|").setSrc(|_|);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.IFRAME_|_|.style.visibility="hidden";</crm4>
      <crm5>Xrm.Page.getControl("IFRAME_|_|2").setVisible(false);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.IFRAME_|_|.style.visibility="visible";</crm4>
      <crm5>Xrm.Page.getControl("IFRAME_|_|2").setVisible(true);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.setAttribute("disabled", true);</crm4>
      <crm5>Xrm.Page.getControl("|_|").setDisabled(true);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.removeAttribute("disabled");</crm4>
      <crm5>Xrm.Page.getControl("|_|").setDisabled(false);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.setAttribute("disabled", true);</crm4>
      <crm5>Xrm.Page.getControl("|_|").setDisabled(true);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.Disabled = false;</crm4>
      <crm5>Xrm.Page.getControl("|_|").setDisabled(false);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.Disabled = true;</crm4>
      <crm5>Xrm.Page.getControl("|_|").setDisabled(true);</crm5>
    </snippet>
    <!--  </snippets>
</Xrm.Page.ui>
<Xrm.Page.data.entity>
  <snippets>-->
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.data.entity.getDataXml()</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.ObjectTypeName</crm4>
      <crm5>Xrm.Page.data.entity.getEntityName()</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.ObjectTypeCode</crm4>
      <crm5></crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.ObjectId</crm4>
      <crm5>Xrm.Page.data.entity.getId()</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.IsDirty</crm4>
      <crm5>Xrm.Page.data.entity.getIsDirty()</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.Save()</crm4>
      <crm5>Xrm.Page.data.entity.save()</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.SaveAndClose()</crm4>
      <crm5>Xrm.Page.data.entity.save("saveandclose")</crm5>
    </snippet>
    <!--  </snippets>
</Xrm.Page.data.entity>
<Xrm.Page.data.entity.attributes>
  <snippets> -->
    <snippet>
      <crm4>crmForm.all.|_|.FireOnChange();</crm4>
      <crm5>Xrm.Page.getAttribute("|_|").fireOnChange();</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getAttributeType()</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.DefaultValue</crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getDefaultValue()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getFormat()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getIsDirty()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getMax()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getMaxLength()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getMin()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getName()</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.Options</crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getOptions()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getParent()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getPrecision()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getRequiredLevel()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getSelectedOption().value</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.SelectedText</crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getSelectedOption().text</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getSubmitMode()</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.SelectedText</crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getText()</crm5>
    </snippet>
    <snippet>
      <crm4></crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getUserPrivilege()</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.DataValue = |_|;</crm4>
      <crm5>Xrm.Page.getAttribute("|_|").setValue(|_|);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.DataValue</crm4>
      <crm5>Xrm.Page.getAttribute("|_|").getValue()</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.SetFieldReqLevel(|_|, 0);</crm4>
      <crm5>Xrm.Page.getAttribute(|_|).setRequiredLevel("none");</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.SetFieldReqLevel(|_|, 1);</crm4>
      <crm5>Xrm.Page.getAttribute(|_|).setRequiredLevel("required");</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.SetFieldReqLevel(|_|, 2);</crm4>
      <crm5>Xrm.Page.getAttribute(|_|).setRequiredLevel("recommended");</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.ForceSubmit = true;</crm4>
      <crm5>Xrm.Page.getAttribute("|_|").setSubmitMode("always");</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.ForceSubmit = false;</crm4>
      <crm5>Xrm.Page.getAttribute("|_|").setSubmitMode("dirty");</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.style.visibility = "hidden";</crm4>
      <crm5>Xrm.Page.getControl("|_|2").setVisible(false);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.style.visibility = "visible";</crm4>
      <crm5>Xrm.Page.getControl("|_|2").setVisible(true);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.style.visibility="hidden";</crm4>
      <crm5>Xrm.Page.getControl("|_|2").setVisible(false);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.style.visibility="visible";</crm4>
      <crm5>Xrm.Page.getControl("|_|2").setVisible(true);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.focus();</crm4>
      <crm5>Xrm.Page.getControl("|_|").setFocus(true);</crm5>
    </snippet>
    <snippet>
      <crm4>crmForm.all.|_|.SetFocus();</crm4>
      <crm5>Xrm.Page.getControl("|_|").setFocus(true);</crm5>
    </snippet>
    <snippet>
      <crm4>.DataValue = |_|;</crm4>
      <crm5>.setValue(|_|);</crm5>
    </snippet>
     <snippet>
      <crm4>.DataValue</crm4>
      <crm5>.getValue()</crm5>
    </snippet>
    <snippet>
      <crm4> = crmForm.all.|_|;</crm4>
      <crm5> = Xrm.Page.getAttribute("|_|");</crm5>
    </snippet>
    <snippet>
      <crm4>.SelectedText</crm4>
      <crm5>.getSelectedOption().text</crm5>
    </snippet>
    <snippet>
      <crm4>.FireOnChange();</crm4>
      <crm5>.fireOnChange();</crm5>
    </snippet>
<!--</snippets>
</Xrm.Page.data.entity.attributes>
<misc>
<snippets>-->
    <snippet>
      <crm4>typename:</crm4>
      <crm5>entityType:</crm5>
    </snippet>
    <snippet>
      <crm4>.typename = </crm4>
      <crm5>.entityType = </crm5>
    </snippet>
    <snippet>
      <crm4>_onchange0();</crm4>
      <crm5>_onchange();</crm5>
    </snippet>
  </snippets>
<!--</misc>-->